package com.xuanyuan.mapper;

import com.xuanyuan.entity.Post;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface PostMapper {
    Post selectPostByName(String postName);

    Post selectPostById(String id);

    List<Post> selectPostList(Post post);

    Integer insertPost(Post post);

    Integer updatePost(Post post);

    Integer deletePostByIds(String[] ids);
}

